package com.atguigu.spzx.product.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName: CategoryMapper
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/22 9:26
 * Version 1.0
 */
@Mapper
public interface CategoryMapper {
    List<Category> selectOneCategory();

    //1 查询所有分类  返回一个list集合
    List<Category> findAll();
}
